import React from "react";

const Error403: React.FC = () => {
  return (
    <div style={{ textAlign: "center", padding: "50px" }}>
      <h1>403页面</h1>
      <p>抱歉，您没有权限访问该页面</p>
      <button onClick={() => (window.location.href = "/")}>返回首页</button>
    </div>
  );
};

export default Error403;
